Suspend console after xenbus, resume console before xenbus.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 5 Sep 2005 08:21:58 +0000 (08:21 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 5 Sep 2005 08:21:58 +0000 (08:21 +0000)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6-xen-sparse/arch/xen/kernel/reboot.c

index af06ae5a5839621aee49f2aef0609c1126c29e9b..49164498ab5f083947af376ec8c7502c9054215f 100644 (file)
@@ -172,10 +172,10 @@ static int __do_suspend(void *ignore)
     smp_suspend();
 #endif
 
-    xencons_suspend();
-
     xenbus_suspend();
 
+    xencons_suspend();
+
     ctrl_if_suspend();
 
     irq_suspend();
@@ -217,10 +217,10 @@ static int __do_suspend(void *ignore)
 
     ctrl_if_resume();
 
-    xenbus_resume();
-
     xencons_resume();
 
+    xenbus_resume();
+
 #ifdef CONFIG_SMP
     smp_resume();
 #endif